home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 52
/
Amiga Format AFCD52 (Issue 136, May 2000).iso
/
-websites-
/
sasg
/
mui
/
arc
/
mui_autodocs_plain.lzx
/
MUI_Pendisplay.doc
< prev
next >
Wrap
Text File
|
1998-09-01
|
3KB
|
113 lines
TABLE OF CONTENTS
Pendisplay.mui/Pendisplay.mui
Pendisplay.mui/MUIA_Pendisplay_Pen
Pendisplay.mui/MUIA_Pendisplay_Reference
Pendisplay.mui/MUIA_Pendisplay_RGBcolor
Pendisplay.mui/MUIA_Pendisplay_Spec
Pendisplay.mui/MUIM_Pendisplay_SetColormap
Pendisplay.mui/MUIM_Pendisplay_SetMUIPen
Pendisplay.mui/MUIM_Pendisplay_SetRGB
Pendisplay.mui/Pendisplay.mui
Pendisplay class takes a struct MUI_PenSpec and displays it.
Its main use is to be sub-classed by Poppen class which adds
a popup window to adjust the MUI_PenSpec. Poppen class should
be used by every application that allows users to configure
custom drawing pens.
Pendisplay.mui/MUIA_Pendisplay_Pen
NAME
MUIA_Pendisplay_Pen -- (V13) [..G], Object *
FUNCTION
Between MUIM_Setup and MUIM_Cleanup, this attribute returns the
pen number MUI uses for color representation of the current
pendisplay object.
This attribute returns -1 when outside of MUIM_Setup/MUIM_Cleanup
or when the pendisplay object didnt allocate a color on its
own (e.g. because MUIA_Pendisplay_Reference).
SEE ALSO
MUIA_Pendisplay_Reference
Pendisplay.mui/MUIA_Pendisplay_Reference
NAME
MUIA_Pendisplay_Reference -- (V13) [ISG], Object *
FUNCTION
Display exactly this pen, dont allocate one on your own.
SEE ALSO
MUIA_Pendisplay_Pen
Pendisplay.mui/MUIA_Pendisplay_RGBcolor
NAME
MUIA_Pendisplay_RGBcolor -- (V11) [ISG], struct MUI_RGBcolor *
FUNCTION
Private attribute, only for PSI.
Pendisplay.mui/MUIA_Pendisplay_Spec
NAME
MUIA_Pendisplay_Spec -- (V11) [ISG], struct MUI_PenSpec *
FUNCTION
The black box structure MUI_PenSpec specifies a drawing
pen which should be displayed by Pendisplay class. If you
use Poppen class to allow your users to configure custom
drawing pens, its this attribute that you need to get()
and save in your preferences.
Use the functions MUI_ObtainPen() and MUI_ReleasePen()
from muimaster.library and the MUIPEN() macro to get
a usable value for SetAPen() from a struct MUI_PenSpec.
NOTE: In allmost all cases you will use Poppen class which
is a subclass of Pendisplay class.
SEE ALSO
muimaster.library/MUI_ObtainPen(),
muimaster.library/MUI_ReleasePen()
Pendisplay.mui/MUIM_Pendisplay_SetColormap
NAME
MUIM_Pendisplay_SetColormap (V13)
SYNOPSIS
DoMethod(obj,MUIM_Pendisplay_SetColormap,LONG colormap);
FUNCTION
Switch the pendisplay object to a specific colormap entry.
SEE ALSO
MUIM_Pendisplay_SetMUIPen, MUIM_Pendisplay_SetRGB
Pendisplay.mui/MUIM_Pendisplay_SetMUIPen
NAME
MUIM_Pendisplay_SetMUIPen (V13)
SYNOPSIS
DoMethod(obj,MUIM_Pendisplay_SetMUIPen,LONG muipen);
FUNCTION
Switch the pendisplay object to a specific mui pen
(MPEN_SHINE, MPEN_SHADOW, ...)
SEE ALSO
MUIM_Pendisplay_SetColormap, MUIM_Pendisplay_SetRGB
Pendisplay.mui/MUIM_Pendisplay_SetRGB
NAME
MUIM_Pendisplay_SetRGB (V13)
SYNOPSIS
DoMethod(obj,MUIM_Pendisplay_SetRGB,ULONG red, ULONG green, ULONG blue);
FUNCTION
Switch the pendisplay object to an RGB value.
SEE ALSO
MUIM_Pendisplay_SetMUIPen, MUIM_Pendisplay_SetColormap